package com.fulihui.wgj.admin.integration;

import com.fulihui.common.result.web.PageView;
import com.fulihui.wgj.admin.api.platform.request.WxPlatformPageReq;
import com.fulihui.wgj.admin.api.platform.vo.WxPlatformVO;

/**
 * @author: JY
 * @date: 2018/7/3 10:30
 */
public interface WxPlatformClient {

    /**
     * 查询公众号列表
     *
     * @param request
     * @return
     */
    PageView<WxPlatformVO> queryWxPlatformPage(WxPlatformPageReq request);

    /**
     * 获取token
     *
     * @param appId
     * @return
     */
    String queryTokenFromRedis(String appId);
}
